"use strict";
//命名空间的使用
//明明空间就是解决这个问题的,命名空间,又称为内部模块,被用于组织又些具有内在联系的特征和对象
var shuaiGuo;
(function (shuaiGuo) {
    var Dehua = /** @class */ (function () {
        function Dehua() {
            this.name = '刘德华';
        }
        Dehua.prototype.talk = function () {
            console.log('我是帅哥刘德华');
        };
        return Dehua;
    }());
    shuaiGuo.Dehua = Dehua;
})(shuaiGuo || (shuaiGuo = {}));
var bajie;
(function (bajie) {
    var Dehua = /** @class */ (function () {
        function Dehua() {
            this.name = '马德华';
        }
        Dehua.prototype.talk = function () {
            console.log('我是二师兄马德华');
        };
        return Dehua;
    }());
    bajie.Dehua = Dehua;
})(bajie || (bajie = {}));
var dehua1 = new shuaiGuo.Dehua();
var dehua2 = new bajie.Dehua();
dehua2.talk();
